package com.funmi.lizip.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("image")
public class Image {


    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备Id
     */
    private Integer deviceId;



//    /**
//     * 设备编号
//     */
//    private String deviceSn;

    /**
     * 拍摄图片
     */
    private String image;



    /**
     * 识别结果图片
     */
    @TableField("result_image")
    private String resultImage;

    /**
     * 昆虫种类,数目
     */
    private String result;

    /**
     * 设备序列号
     */
    private String imei;

    /**
     * 创建时间
     */
    @TableField(value = "create_at",select = false)
    private LocalDateTime createAt;

    /**
     * 修改时间
     */

    @TableField(value = "update_at",select = false)
    private LocalDateTime updateAt;

    /**
     * 是否删除
     */
    @TableField(value = "is_delete",select = false)
    private Boolean deleteFlag;


}
